package com.zhq.blog.core.domain.money;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

import com.zhq.blog.core.domain.BaseRepository;

public interface CardRecordRepository extends JpaRepository<CardRecord,Long>, BaseRepository<CardRecord>,JpaSpecificationExecutor<CardRecord> {
	
	@Query("select b from CardRecord b where deleted=0  order by id desc  ")
	Page<CardRecord> findAll(Pageable pageable);
}
